CUBE CONNECT Edition Help

Examples and FAQ

This section contains examples of the TRNBUILD program, along with a link to the Voyager FAQ chapter. Items include:

Example 1: Build transit network

This step builds a transit network from the input files. It then builds paths and loads trips onto the transit links. It writes a transit DBF that can be viewed in Network Window.

RUN PGM=TRNBUILD

FILEI NETI = ..\..\dtown\dtown.net ; input highway network
FILEI MATI = ..\..\dtown\od.mat ; input transit trips
FILEO NODEO = trnnode.dbf ; output node file
FILEO LINKO = trnlink.dbf ; output link file
FILEO MATO = trnlos.mat ; output transit LOS values

; ---- use the speed/cap table in network for link speeds
HWYTIME = SPDCLASS

; ----- read the transit route records from an external file
READ FILE= ..\..\dtown\troute.txt

; ----- generate zonal access links using the highway network
; links as possible walk links
ZONEACCESS GENERATE= TRUE MAXLINKS=4 MAXDIST= 255*100, MODE=100

; ----- LOS matrices are to be skimmed and written
MATRICES NAME= TRANTIME,DIST4,
MW[1]=TIME(1,2,3,4,5,6,7,8,9,10),
MW[2]=DIST(4)

; ----- specify a matrix of trips to be used
TRIPS MATRIX= MI.1.ODTRIPS, ASSIGN= TRUE

; ----- request to see certain transit paths (must use transit links)
TRACE=(I=1-5 && J=1-5 && BOARDS>0)

; ----- request reports
REPORT LINES=Name, LINESTRING='*'
REPORT LINEVOL= Y LINESORT= Y LINKVOL= Y FULL= Y
ENDRUN

Frequently asked questions

Please see Frequently Asked Questions.